﻿using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Enums;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    /// <summary>
    /// MsFileStatus仓储
    /// </summary>
    public interface IMsFileStatusRepository : IBaseRepository<MsFileStatus>
    {
        /// <summary>
        /// 新增或更新文件处理状态
        /// </summary>
        /// <param name="unzipTaskDataEntityList"></param>
        /// <param name="fileStatus"></param>
        /// <returns></returns>
        Task UpdateFileStatusAsync(List<UnzipTaskDataEntity> unzipTaskDataEntityList, FileStatusEnum fileStatus);

        /// <summary>
        /// 新增或更新文件处理状态
        /// </summary>
        /// <param name="unzipTaskDataEntity"></param>
        /// <param name="fileStatus"></param>
        /// <returns></returns>
        Task UpdateFileStatusAsync(UnzipTaskDataEntity unzipTaskDataEntity, FileStatusEnum fileStatus);
    }
}
